Add explicit transfer annotations to gtk_icon_view_get_cursor
authorSimon Feltman <sfeltman@src.gnome.org>
Sun, 28 Jul 2013 20:16:16 +0000 (13:16 -0700)
committerSimon Feltman <sfeltman@src.gnome.org>
Mon, 29 Jul 2013 04:25:57 +0000 (21:25 -0700)
commitb1a07731121df9cd320fd223faa496f8fe243ed7
treedf3f313a9205e10d9eb76bc3692f7704f7af7a7a
parent158ab86d1d0d6ace4cd8d379177d4fc2c5382ba2
Add explicit transfer annotations to gtk_icon_view_get_cursor

The cell out argument to gtk_icon_view_get_cursor is a pass-through
for gtk_cell_area_get_focus_cell which is transfer none. Without
this explicit annotation, transfer full is defaulted and introspection
bindings will assume ownership of the GtkIconViews reference to the
cell, causing crashes. Additionally add explicit transfer full to
the path parameter because it is expected the caller will free the
returned memory.

https://bugzilla.gnome.org/show_bug.cgi?id=704700
gtk/gtkiconview.c